package com.jjb.saas.demo.infrastructure.persistence.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jjb.saas.demo.infrastructure.persistence.domainobject.RoleDO;
import com.jjb.saas.system.client.role.request.RolePageQry;
import org.apache.ibatis.annotations.Param;

/**
 * @author tzh * @date 2022年07月08日 18:43
 */

public interface RoleMapper extends BaseMapper<RoleDO> {

    /**
     * 角色分页
     * @param iPage
     * @param qry
     * @return
     */
    IPage<RoleDO> rolePage(IPage iPage, @Param("qry") RolePageQry qry);
}
